const router = require('express').Router();
const {testLogin,testRpwd,testToken} = require('../middleware/users')
const {loginHandler,rpwdHandler} = require('../controller/users')


router.post('/login',testLogin,loginHandler);
router.post('/rpwd',testToken,testRpwd,rpwdHandler)

module.exports = router